package org.ns.framework.webmvc.verify;

import org.ns.framework.webmvc.anns.LoginVerify;
import org.springframework.web.method.HandlerMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface LoginVerifyFunction {

	boolean verifyLogin(LoginVerify loginVerify, HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod);
	
	TokenInfo parseTokenInfo(HttpServletRequest request);
}
